import App from './App'
import Vue from 'vue'
import store from '@/store/index.js'
import uView from '@/uni_modules/uview-ui'

Vue.config.productionTip = false
App.mpType = 'app'

Vue.use(uView)
Vue.prototype.$store = store

const app = new Vue({
	...App,
	store
})

// 配置 uView 的的请求模块
require('@/config/request.js')(app)

app.$mount()
